﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Example.Base.Entities;
using Example.Base.Interfaces.Services;
using Ninject;
using Example.Base.Interfaces.Repositories;
using Example.Base.Interfaces.Validators;
using Example.Site.Models;
using System.Web.Security;
using System.Web.Http;

namespace Example.Site.Controllers
{
    /// <summary>
    /// View controller
    /// </summary>
    public sealed class MainController : BaseController
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult ApiDoc()
        {
            var apiExplorer = GlobalConfiguration.Configuration.Services.GetApiExplorer();
            return View(apiExplorer);
        }
    }    
}
